package us.cirion.adventure.ui.mobile;

import us.cirion.adventure.engine.Word;

/**
 * Back is a custom Word used by the mobile UI to allow the user to discard
 * their previous input. For example, if the user has already entered the
 * command "Fight", then changes their mind, then can enter "Back" to return to
 * the list of verbs, and then select the choice "Flee".
 * 
 * @author Chris
 */
class Back extends Word
{

	private static Back back;

	private Back()
	{
		super();
		// TODO: i18n
		setText("[Back]");
	}

	public static Back getInstance()
	{
		if (back == null)
		{
			back = new Back();
		}
		return back;
	}
}
